home *** CD-ROM | disk | FTP | other *** search
INI File | 2000-09-21 | 64.0 KB | 2,066 lines |
- [Identification]
- OptionType = NetService
- [O0OOOO0OOO]
- ENG
- [00OOOO0OOO]
- DNE
- [OO0OOO0OOO]
- 0O0OOO0OOO = "DeterministicNetworks"
- O00OOO0OOO = "1"
- 000OOO0OOO = "11"
- OOO0OO0OOO = $(O00OOO0OOO)"."$(000OOO0OOO)
- 0OO0OO0OOO = "oemnsvdn.inf"
- O0O0OO0OOO = "NdisWedge"
- 00O0OO0OOO = "NdisWedgeTransport"
- OO00OO0OOO = "NdisWedgeMac"
- 0O00OO0OOO = "NdisLan"
- O000OO0OOO = "NdisWan"
- 0000OO0OOO = "dne.sys"
- OOOO0O0OOO = "\SystemRoot\System32\drivers\"$(0000OO0OOO)
- 0OOO0O0OOO = "transport"
- O0OO0O0OOO = "kernel"
- 00OO0O0OOO = "NDISWAN"
- OO0O0O0OOO = "driver"
- 0O0O0O0OOO = "kernelautostart"
- O00O0O0OOO = "NDISWAN"
- 000O0O0OOO = "service"
- OOO00O0OOO = "kernel"
- 0OO00O0OOO = "NDISWAN"
- O0O00O0OOO = "132"
- 00O00O0OOO = ndisDriver
- OO000O0OOO = ndisWanAdapterDialIn
- 0O000O0OOO = ndisWanAdapterDialOut
- O0000O0OOO = ndisWanAdapterDialInIP
- 00000O0OOO = ndisWanAdapterDialOutIP
- OOOOO00OOO = ndisWanAdapterDialInOutIPX
- 0OOOO00OOO = ndisWedgeAdapter
- O0OOO00OOO = dialInWedgeAdapter
- 00OOO00OOO = dialOutWedgeAdapter
- OO0OO00OOO = dialInIPWedgeAdapter
- 0O0OO00OOO = dialOutIPWedgeAdapter
- O00OO00OOO = dialInOutIPXWedgeAdapter
- 000OO00OOO = NdisWanDialin
- OOO0O00OOO = NdisWanDialout
- 0OO0O00OOO = NdisWanDialinIp
- O0O0O00OOO = NdisWanDialoutIp
- 00O0O00OOO = NdisWanDialinoutIpx
- OO00O00OOO = "ndisWedgeTransport ndisWedgeTransport"
- 0O00O00OOO = """NdisWedgeTransport"" yes yes container"
- O000O00OOO = {"ndisWedgeTransport basic"}
- 0000O00OOO = $(0OOO0O0OOO)" no no"
- OOOO000OOO = "NdisWedgeMac ndisWedgeMac ndisWedgeDriver"
- 0OOO000OOO = """NdisWedgeMac"" yes no container"
- O0OO000OOO = {"ndisWedgeDriver basic","ndisWedgeMac basic"}
- 00OO000OOO = $(OO0O0O0OOO)" no no"
- OO0O000OOO = {"ndisWedgeDriver "$(O0OOO00OOO)" non non 100",+
- "ndisWedgeDriver "$(00OOO00OOO)" non non 100",+
- "ndisWedgeDriver "$(OO0OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(0O0OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(O00OO00OOO)" non non 100",+
- "ndisWedgeDriver "$(0OOOO00OOO)" non non 100",+
- "ndisWedgeTransport "$(00O00O0OOO)" non non 100"}
- 0O0O000OOO = "NdisWedgeAdapter "$(0OOOO00OOO)
- O00O000OOO = " yes yes container"
- 000O000OOO = {$(0OOOO00OOO)" basic"}
- OOO0000OOO = "DialInWedgeAdapter "$(O0OOO00OOO)
- 0OO0000OOO = " yes yes container"
- O0O0000OOO = {$(O0OOO00OOO)" basic"}
- 00O0000OOO = "DialOutWedgeAdapter "$(00OOO00OOO)
- OO00000OOO = " yes yes container"
- 0O00000OOO = {$(00OOO00OOO)" basic"}
- O000000OOO = "DialInIPWedgeAdapter "$(OO0OO00OOO)
- 0000000OOO = " yes yes container"
- OOOOOOO0OO = {$(OO0OO00OOO)" basic"}
- 0OOOOOO0OO = "DialOutIPWedgeAdapter "$(0O0OO00OOO)
- O0OOOOO0OO = " yes yes container"
- 00OOOOO0OO = {$(0O0OO00OOO)" basic"}
- OO0OOOO0OO = "DialInOutIPXWedgeAdapter "$(O00OO00OOO)
- 0O0OOOO0OO = " yes yes container"
- O00OOOO0OO = {$(O00OO00OOO)" basic"}
- 000OOOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(O0O0OO0OOO)"\CurrentVersion"
- OOO0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)"\Parameters"
- 0OO0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)
- O0O0OOO0OO = $(!NTN_ServiceBase)"\"$(O0O0OO0OOO)"\Linkage"
- 00O0OOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion"
- OO00OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Parameters"
- 0O00OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)
- O000OOO0OO = $(!NTN_ServiceBase)"\"$(00O0OO0OOO)"\Linkage"
- 0000OOO0OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(OO00OO0OOO)"\CurrentVersion"
- OOOO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Parameters"
- 0OOO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)
- O0OO0OO0OO = $(!NTN_ServiceBase)"\"$(OO00OO0OOO)"\Linkage"
- 00OO0OO0OO = $(!NTN_ServiceBase)"\NetBT\Adapters"
- OO0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Ncpa\CurrentVersion"
- 0O0O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion"
- O00O0OO0OO = $(!NTN_SoftwareBase)"\Microsoft\Windows NT\CurrentVersion\NetworkCards"
- 000O0OO0OO = "SYSTEM\CurrentControlSet\Control\ServiceGroupOrder"
- OOO00OO0OO = {"AutoIPAddress","ServerAdapter","EnumExportPref"}
- [0OO00OO0OO]
- O0O00OO0OO = "UTILITY.INF"
- 00O00OO0OO = "SUBROUTN.INF"
- OO000OO0OO = $(!STF_WINDOWSSYSPATH)\netevent.dll
- 0O000OO0OO = NO_ERROR
- O0000OO0OO = ""
- 00000OO0OO = ""
- OOOOO0O0OO = """"
- 0OOOO0O0OO = " "
- O0OOO0O0OO = 0
- 00OOO0O0OO = 1
- OO0OO0O0OO = 2
- 0O0OO0O0OO = 1
- O00OO0O0OO = 0
- 000OO0O0OO = 33554432
- OOO0O0O0OO = ""
- 0OO0O0O0OO = ""
- O0O0O0O0OO = ""
- 00O0O0O0OO = "Active"
- OO00O0O0OO = 0
- 0O00O0O0OO = $(!STF_NTPATH)\drivers
- [O000O0O0OO]
- 0000O0O0OO = {} ? $(!LIBHANDLE) GetSystemDate
- [OOOO00O0OO]
- STF_PLATFORM = "" ? $(!LIBHANDLE) GetPlatform
- [Identify]
- set !G:DebugOutputControl = 1
- Read-Syms Identification
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- set O0OO00O0OO = $(OptionType)
- set 00OO00O0OO = #("Source Media Descriptions", 1, 1)
- Return $(0OOO00O0OO) $(O0OO00O0OO) $(00OO00O0OO)
- [ReturnOptions]
- set !G:DebugOutputControl = 1
- set 0OOO00O0OO = STATUS_FAILED
- set OO0O00O0OO = {}
- set 0O0O00O0OO = {}
- set O00O00O0OO = ^(O0OOOO0OOO, 1)
- ifcontains(i) $($0) in $(O00O00O0OO)
- goto 000O00O0OO
- else
- set 0OOO00O0OO = STATUS_NOLANGUAGE
- goto OOO000O0OO
- endif
- 000O00O0OO = +
- set OO0O00O0OO = ^(00OOOO0OOO, 1)
- set 0O0O00O0OO = ^(0OO000O0OO$($0), 1)
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- O0O000O0OO = +
- return $(0OOO00O0OO) $(OO0O00O0OO) $(0O0O00O0OO)
- [InstallOption]
- set 00O000O0OO = $($1)
- set OO0000O0OO = $($2)
- set 0O0000O0OO = $($3)
- set O00000O0OO = $($4)
- set 000000O0OO = $($5)
- set !G:DebugOutputControl = 1
- set O00O00O0OO = ^(O0OOOO0OOO, 1)
- ifcontains(i) $($0) NOT-IN $(O00O00O0OO)
- return STATUS_NOLANGAUGE
- endif
- set-subst LF = "\n"
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- read-syms OOOOOO00OO$(!STF_LANGUAGE)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- set Continue = $(OK)
- endif
- read-syms OO0OOO0OOO$(!STF_LANGUAGE)
- detect O000O0O0OO
- detect OOOO00O0OO
- set-title $(0OOOOO00OO)
- set 00000OO0OO = O0OOOO00OO
- set O0000OO0OO = O0OOOO00OO
- set 00OOOO00OO = STATUS_SUCCESSFUL
- O0OOOO00OO = +
- ifstr(i) $(!NTN_InstallMode) == deinstall
- set OO0OOO00OO = 0O0OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == update
- set OO0OOO00OO = O00OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == configure
- set OO0OOO00OO = 000OOO00OO
- else-ifstr(i) $(!NTN_InstallMode) == bind
- set OO0OOO00OO = OOO0OO00OO
- else
- set OO0OOO00OO = 0OO0OO00OO
- endif
- set O0000OO0OO = $(O0O0OO00OO)
- set 00000OO0OO = $(O0O0OO00OO)
- goto $(OO0OOO00OO)
- 0OO0OO00OO = +
- OpenRegKey $(!REG_H_LOCAL) "" $(00O0OOO0OO) $(000OO0O0OO) 0OO0O0O0OO
- ifstr $(0OO0O0O0OO) != $(OOO0O0O0OO)
- CloseRegKey $(0OO0O0O0OO)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(00O0OO00OO)" "$(OOO0OO0OOO)" "$(OO00OO00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- set 00OOOO00OO = STATUS_USERCANCEL
- goto O000OO00OO
- endif
- Shell "" 0000OO00OO
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- goto 0O00OO00OO
- else
- set 00OOOO00OO = STATUS_USERCANCEL
- goto O000OO00OO
- endif
- endif
- ifstr $($R0) != "STATUS_SUCCESS"
- goto OOOO0O00OO
- endif
- ifstr $($R1) != "4.0"
- goto OOOO0O00OO
- endif
- ifint $($R2) < 3
- goto OOOO0O00OO
- endif
- goto 0OOO0O00OO
- OOOO0O00OO = +
- CloseRegKey $(0OO0O0O0OO)
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), NONFATAL, $(00O0OO00OO)" "$(OOO0OO0OOO)" "$(O0OO0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- set 00OOOO00OO = STATUS_USERCANCEL
- goto O000OO00OO
- 0OOO0O00OO = +
- read-syms 00OO0O00OO$(!STF_LANGUAGE)
- Shell $(00O00OO0OO) PushBillboard NETSTATUSDLG $(OO0O0O00OO)
- set BillboardVisible = 1
- StartWait
- ifstr(i) $(!NTN_InstallMode) == "install"
- ifstr(i) $(O00000O0OO) == "YES"
- Shell $(O0O00OO0OO), DoAsksource, $(!STF_CWDDIR), $(OO0000O0OO) YES
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- else-ifstr(i) $($R0) == STATUS_FAILED
- Shell $(O0O00OO0OO) RegistryErrorString "ASK_SOURCE_FAIL"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O0O0O00OO = "Error copying files."
- goto O0O0OO00OO
- else-ifstr(i) $($R0) == STATUS_USERCANCEL
- goto O00O0O00OO
- endif
- set OO0000O0OO = $($R1)
- endif
- install "Install-Option"
- ifstr(i) $(!STF_INSTALL_OUTCOME) != $(!STF_SUCCESS)
- Shell $(O0O00OO0OO) RegistryErrorString "UNABLE_COPY_FILE"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O0O0O00OO = $($R0)
- goto O0O0OO00OO
- endif
- endif
- Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO), +
- $(O0O0OO0OOO), +
- $(O0O0OO0OOO), +
- $(000O0O00OO), +
- $(STF_CONTEXTINFNAME), $(OOOO0O0OOO), +
- $(OOO00O0OOO), $(0OO00O0OOO), {}, "", $(OO000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set 0O0O0O00OO = "Failed to add service software component."
- goto OOO00O00OO
- endif
- set 0OO00O00OO = $($R1)
- set O0O00O00OO = $($R2)
- set 00O00O00OO = $($R3)
- set OO000O00OO = $($R4)
- set 0O000O00OO = $($R5)
- set O0000O00OO = {+
- {"SoftwareType",$(OO00O0O0OO),$(!REG_VT_SZ),$(000O0O0OOO)},+
- {"MajorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
- {"MinorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
- {"Title",$(OO00O0O0OO),$(!REG_VT_SZ),$(00000O00OO)},+
- {"Description",$(OO00O0O0OO),$(!REG_VT_SZ),$(OOOOO000OO)},+
- {"ServiceName",$(OO00O0O0OO),$(!REG_VT_SZ),$(O0O0OO0OOO)},+
- {"OperationsSupport",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O0O00O0OOO)},+
- {"InstallDate",$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add service software value list."
- goto OOO00O00OO
- endif
- set O0000O00OO = {{InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add service software net rules."
- goto OOO00O00OO
- endif
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO),+
- $(00O0OO0OOO),+
- $(00O0OO0OOO),+
- $(0OOOO000OO),+
- $(STF_CONTEXTINFNAME), $(OOOO0O0OOO),+
- $(O0OO0O0OOO), $(00OO0O0OOO), {}, "", $(OO000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set 0O0O0O00OO = "Failed to add transport software component."
- goto OOO00O00OO
- endif
- set 0OO00O00OO = $($R1)
- set O0O00O00OO = $($R2)
- set 00O00O00OO = $($R3)
- set OO000O00OO = $($R4)
- set 0O000O00OO = $($R5)
- set O0000O00OO = {+
- {"SoftwareType",$(OO00O0O0OO),$(!REG_VT_SZ),$(0OOO0O0OOO)},+
- {"MajorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
- {"MinorVersion",$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
- {"Title",$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OO00OO)},+
- {"Description",$(OO00O0O0OO),$(!REG_VT_SZ),$(O0OOO000OO)},+
- {"ServiceName",$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OO0OOO)},+
- {"Review",$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {"Hidden",$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {"InstallDate",$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add transport software value list."
- goto OOO00O00OO
- endif
- Shell "" 00OOO000OO
- set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00O00OOO)}, +
- {use,$(OO00O0O0OO),$(!REG_VT_SZ),$(0000O00OOO)}, +
- {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O000O00OOO)}, +
- {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O00O00OOO)}, +
- {bindable,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}, +
- {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add transport software net rules."
- goto OOO00O00OO
- endif
- set O0000O00OO = {{DebugLevel,$(OO00O0O0OO),$(!REG_VT_DWORD),0}, +
- {DebugMask,$(OO00O0O0OO),$(!REG_VT_DWORD), 0}}
- Shell $(O0O00OO0OO), AddValueList, $(OO000O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add transport software debug info."
- goto OOO00O00OO
- endif
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- Shell $(O0O00OO0OO), AddSoftwareComponent, $(0O0OOO0OOO), +
- $(OO00OO0OOO), +
- $(OO00OO0OOO), +
- $(OO0OO000OO), +
- $(STF_CONTEXTINFNAME), $(OOOO0O0OOO), +
- $(0O0O0O0OOO), $(O00O0O0OOO), {}, "", $(OO000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- CloseRegKey $($R4)
- CloseRegKey $($R5)
- set 0O0O0O00OO = "Failed to add adapter software component."
- goto OOO00O00OO
- endif
- set 0OO00O00OO = $($R1)
- set O0O00O00OO = $($R2)
- set 00O00O00OO = $($R3)
- set OO000O00OO = $($R4)
- set 0O000O00OO = $($R5)
- set O0000O00OO = {{SoftwareType,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO0O0O0OOO)},+
- {MajorVersion,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O00OOO0OOO)},+
- {MinorVersion,$(OO00O0O0OO),$(!REG_VT_DWORD),$(000OOO0OOO)},+
- {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0OO000OO)},+
- {Description,$(OO00O0O0OO),$(!REG_VT_SZ),$(O00OO000OO)},+
- {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
- {RefCount,$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {InstallDate,$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $(0OO00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add adapter software version info."
- goto OOO00O00OO
- endif
- set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OOOO000OOO)}, +
- {use,$(OO00O0O0OO),$(!REG_VT_SZ),$(00OO000OOO)}, +
- {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OO000OOO)}, +
- {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0OOO000OOO)}, +
- {bindable,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OO0O000OOO)}, +
- {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O00O00OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- set 0O0O0O00OO = "Failed to add adapter software net rules."
- goto OOO00O00OO
- endif
- CloseRegKey $(0OO00O00OO)
- CloseRegKey $(O0O00O00OO)
- CloseRegKey $(00O00O00OO)
- CloseRegKey $(OO000O00OO)
- CloseRegKey $(0O000O00OO)
- Shell "" 000OO000OO
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- EndWait
- set 0O0O0O00OO = "Failed to add inf to ReviewPrograms."
- goto O0O0OO00OO
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(000O0OO0OO) $(000OO0O0OO) OOO0O000OO
- set 0OO0O000OO = {}
- Ifstr(i) $(OOO0O000OO) != $(OOO0O0O0OO)
- GetRegValue $(OOO0O000OO) "List" O0O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(O0O0O000OO), 4)
- set 0OO0O000OO = >($(0OO0O000OO), $($))
- EndForListDo
- endif
- Ifcontains(i) $(O00O0O0OOO) not-in $(0OO0O000OO)
- set 00O0O000OO = {}
- ForListDo $(0OO0O000OO)
- set 00O0O000OO = >($(00O0O000OO), $($))
- ifstr(i) $($) == "NDIS"
- set 00O0O000OO = >($(00O0O000OO), $(O00O0O0OOO) )
- endif
- EndForListDo
- SetRegValue $(OOO0O000OO) {List, 0,$(!REG_VT_MULTI_SZ),$(00O0O000OO)}
- endif
- CloseRegKey $(OOO0O000OO)
- else
- endif
- EndWait
- goto O00O0O00OO
- 000OOO00OO = +
- goto O00O0O00OO
- OOO0OO00OO = +
- ifstr(i) $(!NTN_RegBase) != $(00O0OOO0OO)
- goto O00O0O00OO
- endif
- Shell "" OO00O000OO
- set 0O00O000OO = $($R0)
- set O000O000OO = {}
- Set 0000O000OO = $(!NTN_ServiceBase)"\NdisWan\Linkage"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) OOOO0000OO
- ifstr(i) $(OOOO0000OO) != $(OOO0O0O0OO)
- GetRegValue $(OOOO0000OO) "Bind" 0OOO0000OO
- ifint $(RegLastError) == 0
- set O0OO0000OO = *($(0OOO0000OO),4)
- endif
- CloseRegKey $(OOOO0000OO)
- endif
- ForListDo $(O0OO0000OO)
- Split-String $($), "\", 00OO0000OO
- QueryListSize OO0O0000OO $(00OO0000OO)
- set 0O0O0000OO = *($(00OO0000OO),$(OO0O0000OO))
- set O000O000OO = >($(O000O000OO),$(0O0O0000OO))
- EndForListDo
- OpenRegKey $(!REG_H_LOCAL) "" $(O000OOO0OO) $(000OO0O0OO) O00O0000OO
- ifstr(i) $(O00O0000OO) != $(OOO0O0O0OO)
- GetRegValue $(O00O0000OO) "Bind" 0OOO0000OO
- set O0OO0000OO = *($(0OOO0000OO),4)
- CloseRegKey $(O00O0000OO)
- else
- OpenRegKey $(!REG_H_LOCAL) "" $(0O00OOO0OO) $(000OO0O0OO) 000O0000OO
- ifstr(i) $(000O0000OO) != $(OOO0O0O0OO)
- EnumRegKey $(000O0000OO) OOO00000OO
- CloseRegKey $(000O0000OO)
- endif
- set 0O0O0O00OO = "Failed to open transport linkage key."
- goto O0O0OO00OO
- endif
- set 0OO00000OO = {}
- ForListDo $(O0OO0000OO)
- Split-String $($), "\", 00OO0000OO
- QueryListSize OO0O0000OO $(00OO0000OO)
- set 0O0O0000OO = *($(00OO0000OO),$(OO0O0000OO))
- set O000O000OO = >($(O000O000OO),$(0O0O0000OO))
- set 0OO00000OO = >($(0OO00000OO),$(0O0O0000OO))
- EndForListDo
- set O0O00000OO = "No"
- ForListDo $(O000O000OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) 00O00000OO
- ifstr(i) $(00O00000OO) == $(OOO0O0O0OO)
- goto OO000000OO
- endif
- set 0O000000OO = $($)
- set O0000000OO = $(OOO0O0O0OO)
- EnumRegKey $(00O00000OO) 00000000OO
- ForListDo $(00000000OO)
- OpenRegKey $(00O00000OO) "" *($($),1) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) == $(OOO0O0O0OO)
- CloseRegKey $(00O00000OO)
- goto 0OOOOOOO0O
- endif
- GetRegValue $(OOOOOOOO0O) "ServiceName" O0OOOOOO0O
- ifstr(i) $(0O000000OO) == *($(O0OOOOOO0O),4)
- set O0000000OO = $(OOOOOOOO0O)
- goto 0OOOOOOO0O
- endif
- CloseRegKey $(OOOOOOOO0O)
- 0OOOOOOO0O = +
- EndForListDo
- CloseRegKey $(00O00000OO)
- ifstr(i) $(O0000000OO) == $(OOO0O0O0OO)
- goto OO000000OO
- endif
- GetRegValue $(O0000000OO) "ProductName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set OO0OOOOO0O = *($(00OOOOOO0O),4)
- else-ifcontains(i) $($) in $(0OO00000OO)
- set OO0OOOOO0O = $(0O00OO0OOO)
- else
- set OO0OOOOO0O = $(O000OO0OOO)
- endif
- OpenRegKey $(O0000000OO) "" "NetRules" $(000OO0O0OO) 0O0OOOOO0O
- ifstr(i) $(0O0OOOOO0O) == $(OOO0O0O0OO)
- CloseRegKey $(O0000000OO)
- goto OO000000OO
- endif
- CloseRegKey $(O0000000OO)
- GetRegValue $(0O0OOOOO0O) "type" O00OOOOO0O
- CloseRegKey $(0O0OOOOO0O)
- Split-String *($(O00OOOOO0O),4), " ", 000OOOOO0O
- ifcontains(i) $(O0000O0OOO) in $(000OOOOO0O)
- ifcontains(i) "Tcpip" in $(0O00O000OO)
- set OOO0OOOO0O = $(O000000OOO)
- set 0OO0OOOO0O = $(OOOOOOO0OO)
- set O0O0OOOO0O = $(0000000OOO)
- set OO0OOOOO0O = $(O000OO0OOO)
- set 00O0OOOO0O = $(0OO0O00OOO)
- else
- goto OO000000OO
- endif
- else-ifcontains(i) $(00000O0OOO) in $(000OOOOO0O)
- ifcontains(i) "Tcpip" in $(0O00O000OO)
- set OOO0OOOO0O = $(0OOOOOO0OO)
- set 0OO0OOOO0O = $(00OOOOO0OO)
- set O0O0OOOO0O = $(O0OOOOO0OO)
- set OO0OOOOO0O = $(O000OO0OOO)
- set 00O0OOOO0O = $(O0O0O00OOO)
- else
- goto OO000000OO
- endif
- else-ifcontains(i) $(OOOOO00OOO) in $(000OOOOO0O)
- ifcontains(i) "NwlnkIpx" in $(0O00O000OO)
- set OOO0OOOO0O = $(OO0OOOO0OO)
- set 0OO0OOOO0O = $(O00OOOO0OO)
- set O0O0OOOO0O = $(0O0OOOO0OO)
- set OO0OOOOO0O = $(O000OO0OOO)
- set 00O0OOOO0O = $(00O0O00OOO)
- else
- goto OO000000OO
- endif
- else-ifcontains(i) $(OO000O0OOO) in $(000OOOOO0O)
- ifcontains(i) "NetBEUI" in $(0O00O000OO)
- set OOO0OOOO0O = $(OOO0000OOO)
- set 0OO0OOOO0O = $(O0O0000OOO)
- set O0O0OOOO0O = $(0OO0000OOO)
- set OO0OOOOO0O = $(O000OO0OOO)
- set 00O0OOOO0O = $(000OO00OOO)
- else
- goto OO000000OO
- endif
- else-ifcontains(i) $(0O000O0OOO) in $(000OOOOO0O)
- ifcontains(i) "NetBEUI" in $(0O00O000OO)
- set OOO0OOOO0O = $(00O0000OOO)
- set 0OO0OOOO0O = $(0O00000OOO)
- set O0O0OOOO0O = $(OO00000OOO)
- set OO0OOOOO0O = $(O000OO0OOO)
- set 00O0OOOO0O = $(OOO0O00OOO)
- else
- goto OO000000OO
- endif
- else-ifcontains(i) $($) in $(0OO00000OO)
- set OOO0OOOO0O = $(0O0O000OOO)
- set 0OO0OOOO0O = $(000O000OOO)
- set O0O0OOOO0O = $(O00O000OOO)
- set 00O0OOOO0O = $(OO00OO0OOO)
- else
- goto OO000000OO
- endif
- set 0000O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters\"$(00O0OO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 00O00000OO
- ifstr(i) $(00O00000OO) == $(OOO0O0O0OO)
- CreateRegKey $(!REG_H_LOCAL) {$(0000O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" OO00OOOO0O
- else
- CloseRegKey $(00O00000OO)
- goto OO000000OO
- endif
- ifstr(i) $(OO00OOOO0O) == $(OOO0O0O0OO)
- set 0O0O0O00OO = "Failed to open transport parameters key."
- goto O0O0OO00OO
- endif
- Shell $(O0O00OO0OO), AddHardwareComponent, +
- $(OO0OOOOO0O), +
- $(STF_CONTEXTINFNAME), +
- $(0000OOO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- CloseRegKey $($R1)
- CloseRegKey $($R2)
- CloseRegKey $($R3)
- set 0O0O0O00OO = "Failed to add hardware component "$(OO0OOOOO0O)"."
- goto OOO00O00OO
- endif
- set 0O00OOOO0O = $($)
- set O000OOOO0O = $(OOO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(OOOOOOOO0O) 0000OOOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0000OOOO0O)
- OpenRegKey $(OOOOOOOO0O) "" *($($),1) $(000OO0O0OO) OOOO0OOO0O
- ifstr(i) $(OOOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(OOOO0OOO0O) "ServiceName" O0OOOOOO0O
- ifint $(RegLastError) == 0
- ifstr *($(O0OOOOOO0O),4) == $(0O00OOOO0O)
- GetRegValue $(OOOO0OOO0O) "Title" 0OOO0OOO0O
- ifint $(RegLastError) == 0
- set O000OOOO0O = *($(0OOO0OOO0O),4)
- endif
- endif
- endif
- CloseRegKey $(OOOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(OOOOOOOO0O)
- endif
- set O0OO0OOO0O = $($R2)
- set O0O0O0O0OO = $($R3)
- set 00OO0OOO0O = $($R4)
- set OO0O0OOO0O = $(OO0OOOOO0O)$(00OO0OOO0O)
- set 0O0O0OOO0O = "["$(00OO0OOO0O)"] "$(O00O0OOO0O)"-->"$(O000OOOO0O)
- set O0000O00OO = {{Manufacturer,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0OOO0OOO)},+
- {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(0O0O0OOO0O)},+
- {Description,$(OO00O0O0OO),$(!REG_VT_SZ),$(000O0OOO0O)},+
- {ProductName,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O0OOOO0O)},+
- {SoftwareName,$(OO00O0O0OO),$(!REG_VT_SZ),$(OO00OO0OOO)},+
- {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),$($R5)},+
- {Hidden,$(OO00O0O0OO),$(!REG_VT_DWORD),1},+
- {InstallDate,$(OO00O0O0OO),$(!REG_VT_DWORD),*($(0000O0O0OO),1)}}
- Shell $(O0O00OO0OO), AddValueList, $($R1), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- CloseRegKey $($R1)
- set OOO00OOO0O = """"$(OO0OOOOO0O)$(00OO0OOO0O)""""
- set 0OO00OOO0O = $(OOO00OOO0O)$(O0O0OOOO0O)
- set O0000O00OO = {{type,$(OO00O0O0OO),$(!REG_VT_SZ),$(OOO0OOOO0O)},+
- {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(0OO00OOO0O)}, +
- {class,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(0OO0OOOO0O)}, +
- {InfOption,$(OO00O0O0OO),$(!REG_VT_SZ),$(00O000O0OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0OO0OOO0O), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- EndWait
- CloseRegKey $(O0O0O0O0OO)
- CloseRegKey $(O0OO0OOO0O)
- set 0O0O0O00OO = "Failed to set net rules for "$(OOO00OOO0O)"."
- goto OOO00O00OO
- endif
- CloseRegKey $(O0OO0OOO0O)
- set 0000O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) O0O00OOO0O
- ifstr(i) $(O0O00OOO0O) != $(OOO0O0O0OO)
- set 00O00OOO0O = {}
- EnumRegValue $(O0O00OOO0O) 00O00OOO0O
- ifstr $(00O00OOO0O) != {}
- ForListDo $(00O00OOO0O)
- ifcontains(i) *($($),1) in $(OOO00OO0OO)
- SetRegValue $(O0O0O0O0OO) $($)
- endif
- EndForListDo
- endif
- EnumRegKey $(O0O00OOO0O) OO000OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OO000OOO0O)
- OpenRegKey $(O0O00OOO0O) "" *($($),1) $(000OO0O0OO) 0O000OOO0O
- ifstr(i) $(0O000OOO0O) != $(OOO0O0O0OO)
- CreateRegKey $(O0O0O0O0OO) {*($($),1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0000OOO0O
- ifstr(i) $(O0000OOO0O) != $(OOO0O0O0OO)
- Shell "", 00000OOO0O, $(0O000OOO0O), $(O0000OOO0O)
- CloseRegKey $(O0000OOO0O)
- endif
- CloseRegKey $(0O000OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(O0O00OOO0O)
- endif
- endif
- set O0000O00OO = {{InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$(00OO0OOO0O)},+
- {SystemAdapter,$(OO00O0O0OO),$(!REG_VT_SZ),"\Device\"$($)},+
- {SourceParameters,$(OO00O0O0OO),$(!REG_VT_SZ),$(0000O000OO)}}
- Shell $(O0O00OO0OO), AddValueList, $(O0O0O0O0OO), $(O0000O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- CloseRegKey $(O0O0O0O0OO)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- Ifstr(i) $(0O000OO0OO) != NO_ERROR
- set 0O0O0O00OO = "Failed to set parameters for "$(OOO00OOO0O)"."
- CloseRegKey $(O0O0O0O0OO)
- goto OOO00O00OO
- endif
- ifstr(i) $(OO00OOOO0O) != $(OOO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(00OO0OO0OO)"\"$($) $(000OO0O0OO) OOOOO0OO0O
- ifstr(i) $(OOOOO0OO0O) == $(OOO0O0O0OO)
- else
- CreateRegKey $(O0O0O0O0OO) {"NetBT\"$($),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
- else
- Shell "", 00000OOO0O, $(OOOOO0OO0O), $(0OOOO0OO0O)
- CloseRegKey $(0OOOO0OO0O)
- endif
- CloseRegKey $(OOOOO0OO0O)
- endif
- endif
- CloseRegKey $(O0O0O0O0OO)
- set O0OOO0OO0O = $(!NTN_ServiceBase)"\"$(OO0OOOOO0O)$(00OO0OOO0O)"\Parameters\DNESignature"
- CreateRegKey $(!REG_H_LOCAL) {$(O0OOO0OO0O),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00OOO0OO0O
- ifstr(i) $(00OOO0OO0O) == $(OOO0O0O0OO)
- endif
- set O0O00000OO = "Yes"
- ifstr(i) $(OO00OOOO0O) != $(OOO0O0O0OO)
- set O0000O00OO = {{Device,$(OO00O0O0OO),$(!REG_VT_SZ),$($)},+
- {AdapterNumber,$(OO00O0O0OO),$(!REG_VT_SZ),$(00OO0OOO0O)}, +
- {InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD), $(00OO0OOO0O) } }
- Shell $(O0O00OO0OO), AddValueList, $(OO00OOOO0O), $(O0000O00OO)
- CloseRegKey $(OO00OOOO0O)
- endif
- OO000000OO = +
- EndForListDo
- set OO0OO0OO0O = {}
- set 0O0OO0OO0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(OOOOOOOO0O) 0000OOOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0000OOOO0O)
- OpenRegKey $(OOOOOOOO0O) "" *($($),1) $(000OO0O0OO) OOOO0OOO0O
- ifstr(i) $(OOOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(OOOO0OOO0O) "ServiceName" O0OOOOOO0O
- ifint $(RegLastError) == 0
- set 0000O000OO = $(!NTN_ServiceBase)"\"*($(O0OOOOOO0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) O00OO0OO0O
- ifstr(i) $(O00OO0OO0O) == $(OOO0O0O0OO)
- GetRegValue $(OOOO0OOO0O) "SoftwareName" 000OO0OO0O
- ifint $(RegLastError) == 0
- ifstr *($(000OO0OO0O),4) == $(OO00OO0OOO)
- set OO0OO0OO0O = >($(OO0OO0OO0O),*($($),1))
- set 0O0OO0OO0O = >($(0O0OO0OO0O),*($(000OO0OO0O),4))
- endif
- endif
- else
- GetRegValue $(O00OO0OO0O) "SystemAdapter" OOO0O0OO0O
- ifint $(RegLastError) == 0
- Split-String *($(OOO0O0OO0O),4), "\", 00OO0000OO
- QueryListSize OO0O0000OO $(00OO0000OO)
- set 0O0O0000OO = *($(00OO0000OO),$(OO0O0000OO))
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(0O0O0000OO) $(000OO0O0OO) 0OO0O0OO0O
- ifstr(i) $(0OO0O0OO0O) != $(OOO0O0O0OO)
- CloseRegKey $(0OO0O0OO0O)
- else
- set OO0OO0OO0O = >($(OO0OO0OO0O),*($($),1))
- GetRegValue $(OOOO0OOO0O) "SoftwareName" 000OO0OO0O
- ifint $(RegLastError) == 0
- set 0O0OO0OO0O = >($(0O0OO0OO0O),*($(000OO0OO0O),4))
- else
- set 0O0OO0OO0O = >($(0O0OO0OO0O),$(OO00OO0OOO))
- endif
- endif
- endif
- CloseRegKey $(O00OO0OO0O)
- endif
- endif
- CloseRegKey $(OOOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(OOOOOOOO0O)
- endif
- ForListDo $(OO0OO0OO0O)
- set O0O0O0OO0O = $(O00O0OO0OO)"\"$($)
- set 00O0O0OO0O = *($(0O0OO0OO0O),$(#))
- Shell $(O0O00OO0OO), RemoveHardwareComponent, $(0O0OOO0OOO), $(00O0O0OO0O), $(O0O0O0OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- set 0O0O0O00OO = "Failed to remove unused hardware component "$(O0O0O0OO0O)"."
- goto OOO00O00OO
- endif
- set O0O00000OO = "Yes"
- EndForListDo
- set 0000O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)"\"$(00O0OO0OOO)"\CurrentVersion\NetRules"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) OO00O0OO0O
- ifstr(i) $(OO00O0OO0O) != $(OOO0O0O0OO)
- GetRegValue $(OO00O0OO0O) "bindable" 0O00O0OO0O
- ifint $(RegLastError) == 0
- Shell "" 00OOO000OO
- ifstr $($R0) != *($(0O00O0OO0O),4)
- SetRegValue $(OO00O0OO0O) {"bindable",$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$($R0)}
- ifint $(RegLastError) != 0
- else
- set O0O00000OO = "Yes"
- endif
- endif
- endif
- CloseRegKey $(OO00O0OO0O)
- else
- endif
- Shell "" O000O0OO0O
- Shell "" 0000O0OO0O
- set OOOO00OO0O = $($R0)
- set 0OOO00OO0O = $($R1)
- Shell "" OO00O000OO
- ForListDo $($R0)
- set 0000O000OO = $(!NTN_ServiceBase)"\"$($)"\Linkage"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) O0OO00OO0O
- ifstr(i) $(O0OO00OO0O) != $(OOO0O0O0OO)
- Shell "" 00OO00OO0O $($),$(O0OO00OO0O),$(OOOO00OO0O),$(0OOO00OO0O),$(0O0OO0O0OO)
- CloseRegKey $(O0OO00OO0O)
- else
- endif
- EndForListDo
- ifstr(i) $(O0O00000OO) == "Yes"
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) OO0O00OO0O
- ifstr(i) $(OO0O00OO0O) != $(OOO0O0O0OO)
- SetRegValue $(OO0O00OO0O) {"BindRestart",$(OO00O0O0OO),$(!REG_VT_DWORD),1}
- CloseRegKey $(OO0O00OO0O)
- else
- endif
- endif
- goto O00O0O00OO
- 0O0OOO00OO = +
- ifstr(i) $(!NTN_RegBase) != $(000OOOO0OO)
- set 0O0O0O00OO = "To uninstall this adapter, remove '"$(OOOOO000OO)"' from Services"
- set O0000OO0OO = O000OO00OO
- goto 0O0O00OO0O
- endif
- Shell "" O00O00OO0O
- Shell "" 000O00OO0O
- Shell "" OOO000OO0O
- goto O000OO00OO
- O00OOO00OO = +
- goto O00O0O00OO
- 0O00OO00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), FATAL, "Fatal shell error: "$($ShellCode)
- endif
- goto 0OO000OO0O
- O0O0OO00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(0O0O0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- set O0O000OO0O = {"0OO0OO00OO"}
- ifcontains(i) $(OO0OOO00OO) in $(O0O000OO0O)
- Shell "" OOO000OO0O
- endif
- goto 0OO000OO0O
- OOO00O00OO = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- Shell $(O0O00OO0OO) RegistryErrorString $(0O000OO0OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 00O000OO0O = $(0O0O0O00OO)
- set 0O0O0O00OO = $($R0)
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), "FATAL", $(00O000OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- endif
- goto O0O0OO00OO
- 0O0O00OO0O = +
- set 00OOOO00OO = STATUS_USERCANCEL
- set OO0000OO0O = STATUS
- goto 0O0000OO0O
- O00000OO0O = +
- set OO0000OO0O = NONFATAL
- goto 0O0000OO0O
- 0O0000OO0O = +
- ifstr(i) $(!NTN_Origination) == "NCPA"
- ifstr(i) $(0O0O0O00OO) == ""
- Shell $(O0O00OO0OO) RegistryErrorString "SETUP_FAIL"
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- set 0O0O0O00OO = $($R0)
- endif
- Shell $(00O00OO0OO) SetupMessage, $(!STF_LANGUAGE), $(OO0000OO0O), $(0O0O0O00OO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- goto 0O00OO00OO
- endif
- ifstr(i) $($R1) == "OK"
- goto $(O0000OO0OO)
- else
- goto O000OO00OO
- endif
- else
- goto $(O0000OO0OO)
- endif
- 0OO000OO0O = +
- set 00OOOO00OO = STATUS_FAILED
- goto O000OO00OO
- O00O0O00OO = +
- goto O000OO00OO
- O000OO00OO = +
- goto 000000OO0O
- 000000OO0O = +
- return $(00OOOO00OO)
- [BindingsReview]
- set !G:DebugOutputControl = 1
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) O0OO00OO0O
- ifstr $(O0OO00OO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(O0OO00OO0O) "Bind" OOOOOO0O0O
- ifint $(RegLastError) != 0
- else
- set 0OOO0000OO = *($(OOOOOO0O0O),4)
- ForListDo $(0OOO0000OO)
- Split-String $($) "\" 0OOOOO0O0O
- set O0OOOO0O0O = $(!NTN_ServiceBase)"\"*($(0OOOOO0O0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OOOO0O0O) $(000OO0O0OO) 00OOOO0O0O
- ifstr $(00OOOO0O0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(00OOOO0O0O) "SourceParameters" OO0OOO0O0O
- ifint $(RegLastError) == 0
- set 0O0OOO0O0O = *($(OO0OOO0O0O),4)
- OpenRegKey $(!REG_H_LOCAL) "" $(0O0OOO0O0O) $(000OO0O0OO) O00OOO0O0O
- ifstr $(O00OOO0O0O) == $(OOO0O0O0OO)
- else
- set 00O00OOO0O = {}
- EnumRegValue $(O00OOO0O0O) 00O00OOO0O
- ifstr $(00O00OOO0O) != {}
- ForListDo $(00O00OOO0O)
- ifcontains(i) *($($),1) in $(OOO00OO0OO)
- SetRegValue $(00OOOO0O0O) $($)
- endif
- EndForListDo
- endif
- EnumRegKey $(O00OOO0O0O) OO000OOO0O
- ifint $(RegLastError) == 0
- ForListDo $(OO000OOO0O)
- OpenRegKey $(O00OOO0O0O) "" *($($),1) $(000OO0O0OO) 0O000OOO0O
- ifstr(i) $(0O000OOO0O) != $(OOO0O0O0OO)
- OpenRegKey $(00OOOO0O0O) "" *($($),1) $(000OO0O0OO) O0000OOO0O
- ifstr(i) $(O0000OOO0O) != $(OOO0O0O0OO)
- Shell "", 00000OOO0O, $(0O000OOO0O), $(O0000OOO0O)
- CloseRegKey $(O0000OOO0O)
- endif
- CloseRegKey $(0O000OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(O00OOO0O0O)
- DeleteRegValue $(00OOOO0O0O) "SourceParameters"
- endif
- endif
- CloseRegKey $(00OOOO0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(O0OO00OO0O)
- endif
- Shell "" 000OOO0O0O
- Shell "" OOO0OO0O0O
- return STATUS_SUCCESSFUL
- [0000O0OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- set OOOO00OO0O = {}
- set 0OOO00OO0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(OOOOOOOO0O) 0000OOOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0000OOOO0O)
- OpenRegKey $(OOOOOOOO0O) "" *($($),1) $(000OO0O0OO) OOOO0OOO0O
- ifstr(i) $(OOOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(OOOO0OOO0O) "ServiceName" O0OOOOOO0O
- ifint $(RegLastError) == 0
- set 0000O000OO = $(!NTN_ServiceBase)"\"*($(O0OOOOOO0O),4)"\Parameters\DNESignature"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 0OO0OO0O0O
- ifstr(i) $(0OO0OO0O0O) != $(OOO0O0O0OO)
- set OOOO00OO0O = >($(OOOO00OO0O),*($(O0OOOOOO0O),4))
- CloseRegKey $(0OO0OO0O0O)
- else
- set 0OOO00OO0O = >($(0OOO00OO0O),*($(O0OOOOOO0O),4))
- endif
- endif
- CloseRegKey $(OOOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(OOOOOOOO0O)
- endif
- return $(OOOO00OO0O) $(0OOO00OO0O)
- [000O00OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Shell "" 0000O0OO0O
- ForListDo $($R0)
- set O0O0OO0O0O = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(O0O0OO0O0O) $(000OO0O0OO) 00O0OO0O0O
- ifstr $(00O0OO0O0O) != $(OOO0O0O0OO)
- GetRegValue $(00O0OO0O0O) "SystemAdapter" OO00OO0O0O
- ifint $(RegLastError) == 0
- set 0O00OO0O0O = *($(OO00OO0O0O),4)
- Split-String $(0O00OO0O0O) "\_" O000OO0O0O
- QueryListSize 0000OO0O0O $(O000OO0O0O)
- set OOOO0O0O0O = $(!NTN_ServiceBase)"\"*($(O000OO0O0O),$(0000OO0O0O))"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0O0O0O) $(000OO0O0OO) 0OOO0O0O0O
- ifstr $(0OOO0O0O0O) != $(OOO0O0O0OO)
- Shell "", 00000OOO0O, $(00O0OO0O0O), $(0OOO0O0O0O)
- DeleteRegKey $(0OOO0O0O0O) $(00O0OO0OOO)
- DeleteRegKey $(0OOO0O0O0O) "DNESignature"
- CloseRegKey $(0OOO0O0O0O)
- endif
- endif
- CloseRegKey $(00O0OO0O0O)
- endif
- EndForListDo
- return
- [O00O00OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) O0OO00OO0O
- ifstr(i) $(O0OO00OO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(O0OO00OO0O) "Bind" 0OOO0000OO
- ifint $(RegLastError) != 0
- else
- set O0OO0O0O0O = *($(0OOO0000OO),4)
- ForListDo $(O0OO0O0O0O)
- Split-String $($), "\", 00OO0000OO
- QueryListSize 00OO0O0O0O $(00OO0000OO)
- set OO0O0O0O0O = *($(00OO0000OO),$(00OO0O0O0O))
- set 0000O000OO = $(!NTN_ServiceBase)"\"$(OO0O0O0O0O)"\Parameters\"$(00O0OO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 0O0O0O0O0O
- ifstr(i) $(0O0O0O0O0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(0O0O0O0O0O) "Device" O00O0O0O0O
- ifint $(RegLastError) != 0
- else
- set 0000O000OO = $(00OO0OO0OO)"\"*($(O00O0O0O0O),4)
- CreateRegKey $(!REG_H_LOCAL) {$(0000O000OO),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
- else
- set 0000O000OO = $(00OO0OO0OO)"\"$(OO0O0O0O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 000O0O0O0O
- ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
- else
- Shell "", 00000OOO0O, $(000O0O0O0O), $(0OOOO0OO0O)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- endif
- CloseRegKey $(000O0O0O0O)
- endif
- CloseRegKey $(0OOOO0OO0O)
- endif
- endif
- CloseRegKey $(0O0O0O0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(O0OO00OO0O)
- endif
- return
- [000OOO0O0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- set O0OO0O0O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) O0OO00OO0O
- ifstr(i) $(O0OO00OO0O) != $(OOO0O0O0OO)
- GetRegValue $(O0OO00OO0O) "Bind" 0OOO0000OO
- ifint $(RegLastError) == 0
- set O0OO0O0O0O = *($(0OOO0000OO),4)
- endif
- endif
- ifstr $(O0OO0O0O0O) != {}
- ForListDo $(O0OO0O0O0O)
- Split-String $($), "\", 00OO0000OO
- QueryListSize 00OO0O0O0O $(00OO0000OO)
- set OO0O0O0O0O = *($(00OO0000OO),$(00OO0O0O0O))
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\"$(OO0O0O0O0O)"\Parameters\NetBT" $(000OO0O0OO) OOOOO0OO0O
- ifstr(i) $(OOOOO0OO0O) == $(OOO0O0O0OO)
- else
- EnumRegKey $(OOOOO0OO0O) OOO00O0O0O
- ifint $(RegLastError) != 0
- else
- ForListDo $(OOO00O0O0O)
- set 0OO00O0O0O = *($($),1)
- OpenRegKey $(OOOOO0OO0O) "" $(0OO00O0O0O) $(000OO0O0OO) 000O0O0O0O
- ifstr(i) $(000O0O0O0O) == $(OOO0O0O0OO)
- else
- set 0000O000OO = $(00OO0OO0OO)"\"$(OO0O0O0O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 0OOOO0OO0O
- ifstr(i) $(0OOOO0OO0O) == $(OOO0O0O0OO)
- else
- Shell "", 00000OOO0O, $(000O0O0O0O), $(0OOOO0OO0O)
- ifstr(i) $($R0) != STATUS_SUCCESSFUL
- else
- DeleteRegTree $(OOOOO0OO0O) $(0OO00O0O0O)
- endif
- CloseRegKey $(0OOOO0OO0O)
- endif
- CloseRegKey $(000O0O0O0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(OOOOO0OO0O)
- endif
- EndForListDo
- endif
- ifstr(i) $(O0OO00OO0O) != $(OOO0O0O0OO)
- CloseRegKey $(O0OO00OO0O)
- endif
- return
- [00000OOO0O]
- set O0O00O0O0O = $($0)
- set 00O00O0O0O = $($1)
- Set FLibraryErrCtl = 1
- LibraryProcedure __CopyResult $(!NCPA_HANDLE), RegCopyTree, $(O0O00O0O0O), $(00O00O0O0O)
- Set FLibraryErrCtl = 0
- Set OO000O0O0O = *($(0O000O0O0O),1)
- Ifint $(OO000O0O0O) != 0
- return UNABLE_ACCESS_CONFIGURE_SERVICE
- Endif
- return STATUS_SUCCESSFUL
- [OOO000OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- read-syms OOOOOO00OO$(!STF_LANGUAGE)
- Shell "" O0000O0O0O
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) != $(OOO0O0O0OO)
- EnumRegKey $(OOOOOOOO0O) 0000OOOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0000OOOO0O)
- OpenRegKey $(OOOOOOOO0O) "" *($($),1) $(000OO0O0OO) OOOO0OOO0O
- ifstr(i) $(OOOO0OOO0O) != $(OOO0O0O0OO)
- GetRegValue $(OOOO0OOO0O) "ServiceName" O0OOOOOO0O
- ifint $(RegLastError) == 0
- set 00O0O0OO0O = $(OOO0O0O0OO)
- set 0000O000OO = $(!NTN_ServiceBase)"\"*($(O0OOOOOO0O),4)"\Parameters\DNESignature"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 0OO0O0OO0O
- ifstr(i) $(0OO0O0OO0O) != $(OOO0O0O0OO)
- CloseRegKey $(0OO0O0OO0O)
- GetRegValue $(OOOO0OOO0O) "SoftwareName" 000OO0OO0O
- ifint $(RegLastError) == 0
- set 00O0O0OO0O = *($(000OO0OO0O),4)
- else
- set 00O0O0OO0O = $(OO00OO0OOO)
- endif
- else
- GetRegValue $(OOOO0OOO0O) "SoftwareName" 000OO0OO0O
- ifint $(RegLastError) == 0
- ifstr *($(000OO0OO0O),4) == $(OO00OO0OOO)
- set 00O0O0OO0O = *($(000OO0OO0O),4)
- endif
- endif
- endif
- ifstr $(00O0O0OO0O) != $(OOO0O0O0OO)
- set O0O0O0OO0O = $(O00O0OO0OO)"\"*($($),1)
- Shell $(O0O00OO0OO), RemoveHardwareComponent, $(0O0OOO0OOO), $(00O0O0OO0O), $(O0O0O0OO0O)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- endif
- endif
- CloseRegKey $(OOOO0OOO0O)
- endif
- EndForListDo
- endif
- CloseRegKey $(OOOOOOOO0O)
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase) $(000OO0O0OO) 0OO0O0OO0O
- ifstr(i) $(0OO0O0OO0O) != $(OOO0O0O0OO)
- EnumRegKey $(0OO0O0OO0O) 00000O0O0O
- ifint $(RegLastError) == 0
- ForListDo $(00000O0O0O)
- set 0000O000OO = $(!NTN_ServiceBase)"\"*($($),1)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO)"\"$(00O0OO0OOO) $(000OO0O0OO) OOOOO00O0O
- ifstr(i) $(OOOOO00O0O) != $(OOO0O0O0OO)
- CloseRegKey $(OOOOO00O0O)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 0OOOO00O0O
- ifstr(i) $(0OOOO00O0O) != $(OOO0O0O0OO)
- DeleteRegTree $(0OOOO00O0O) $(00O0OO0OOO)
- CloseRegKey $(0OOOO00O0O)
- endif
- endif
- EndForListDo
- endif
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) 0O0OOOOO0O
- ifstr(i) $(0O0OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0O0OOOOO0O) "InfName" O0OOO00O0O
- ifint $(RegLastError) == 0
- ifstr(i) *($(O0OOO00O0O),4) != $(0OO0OO0OOO)
- AddFileToDeleteList $(!STF_WINDOWSSYSPATH)"\"*($(O0OOO00O0O),4)
- endif
- endif
- CloseRegKey $(0O0OOOOO0O)
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(0000OOO0OO) $(000OO0O0OO) 00OOO00O0O
- ifstr(i) $(00OOO00O0O) != $(OOO0O0O0OO)
- SetRegValue $(00OOO00O0O) {RefCount,$(OO00O0O0OO),$(!REG_VT_DWORD),0}
- CloseRegKey $(00OOO00O0O)
- endif
- Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(OO00OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- endif
- Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(00O0OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- endif
- Shell $(O0O00OO0OO), RemoveSoftwareComponent, $(0O0OOO0OOO), $(O0O0OO0OOO)
- ifint $($ShellCode) != $(!SHELL_CODE_OK)
- endif
- set 0O000OO0OO = $($R0)
- ifstr(i) $(0O000OO0OO) != NO_ERROR
- endif
- Set 0000O000OO = $(!NTN_SoftwareBase)"\"$(0O0OOO0OOO)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) OO0OO00O0O
- ifstr(i) $(OO0OO00O0O) != $(OOO0O0O0OO)
- EnumRegKey $(OO0OO00O0O) 0O0OO00O0O
- ifint $(RegLastError) == 0
- ifstr $(0O0OO00O0O) == {}
- set O00OO00O0O = {}
- EnumRegValue $(OO0OO00O0O) O00OO00O0O
- ifstr $(O00OO00O0O) == {}
- DeleteRegTree $(!REG_H_LOCAL) $(0000O000OO)
- endif
- endif
- endif
- CloseRegKey $(OO0OO00O0O)
- endif
- return
- [000OO000OO]
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- set 0OOO00O0OO = STATUS_FAILED
- OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) 0O0OOOOO0O
- ifstr(i) $(0O0OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0O0OOOOO0O) "InfName" O0OOO00O0O
- ifint $(RegLastError) == 0
- CloseRegKey $(0O0OOOOO0O)
- set 000OO00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) OOO0O00O0O
- ifstr(i) $(OOO0O00O0O) != $(OOO0O0O0OO)
- GetRegValue $(OOO0O00O0O) "ReviewPrograms" O0O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(O0O0O000OO),4)
- ifstr(i) $($) != *($(O0OOO00O0O),4)
- ifstr(i) $($) == "NBINFO.INF"
- set 000OO00O0O = >($(000OO00O0O),*($(O0OOO00O0O),4))
- endif
- set 000OO00O0O = >($(000OO00O0O), $($))
- endif
- EndForListDo
- SetRegValue $(OOO0O00O0O) {ReviewPrograms,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(000OO00O0O)}
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- endif
- CloseRegKey $(OOO0O00O0O)
- else
- endif
- else
- CloseRegKey $(0O0OOOOO0O)
- endif
- else
- endif
- return $(0OOO00O0OO)
- [O0000O0O0O]
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- set 0OOO00O0OO = STATUS_FAILED
- OpenRegKey $(!REG_H_LOCAL) "" $(000OOOO0OO)"\NetRules" $(000OO0O0OO) 0O0OOOOO0O
- ifstr(i) $(0O0OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0O0OOOOO0O) "InfName" O0OOO00O0O
- ifint $(RegLastError) == 0
- CloseRegKey $(0O0OOOOO0O)
- set 000OO00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(OO0O0OO0OO) $(000OO0O0OO) OOO0O00O0O
- Ifstr(i) $(OOO0O00O0O) != $(OOO0O0O0OO)
- GetRegValue $(OOO0O00O0O) "ReviewPrograms" O0O0O000OO
- ifint $(RegLastError) == 0
- ForListDo *($(O0O0O000OO),4)
- ifstr(i) $($) != *($(O0OOO00O0O),4)
- set 000OO00O0O = >($(000OO00O0O), $($))
- endif
- EndForListDo
- SetRegValue $(OOO0O00O0O) {ReviewPrograms,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(000OO00O0O)}
- set 0OOO00O0OO = STATUS_SUCCESSFUL
- endif
- CloseRegKey $(OOO0O00O0O)
- else
- endif
- else
- CloseRegKey $(0O0OOOOO0O)
- endif
- else
- endif
- return $(0OOO00O0OO)
- [00OOO000OO]
- read-syms OO0OOO0OOO
- read-syms 0OO00OO0OO
- Shell "" OO00O000OO
- set 0O00O000OO = $($R0)
- set 0OO0O00O0O = {}
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_SoftwareBase) $(000OO0O0OO) O0O0O00O0O
- ifstr(i) $(O0O0O00O0O) != $(OOO0O0O0OO)
- set 00O0O00O0O = {}
- EnumRegKey $(O0O0O00O0O) 00O0O00O0O
- ForListDo $(00O0O00O0O)
- set OO00O00O0O = *($($),1)
- ForListDo $(0O00O000OO)
- set 0O00O00O0O = $(OOO0O0O0OO)
- OpenRegKey $(O0O0O00O0O) "" $(OO00O00O0O)"\"$($) $(000OO0O0OO) 0O00O00O0O
- ifstr(i) $(0O00O00O0O) != $(OOO0O0O0OO)
- set O000O00O0O = {}
- ifstr(i) $($) == $(O0O0OO0OOO)
- goto 0000O00O0O
- endif
- ifstr(i) $($) == $(00O0OO0OOO)
- goto 0000O00O0O
- endif
- ifstr(i) $($) == $(OO00OO0OOO)
- goto 0000O00O0O
- endif
- OpenRegKey $(0O00O00O0O) "" "CurrentVersion\NetRules" $(000OO0O0OO) 0O0OOOOO0O
- ifstr(i) $(0O0OOOOO0O) != $(OOO0O0O0OO)
- GetRegValue $(0O0OOOOO0O) "Class" OOOO000O0O
- ifint $(RegLastError) == 0
- ForListDo *($(OOOO000O0O),4)
- Split-String $($), " ", 0OOO000O0O
- set O0OO000O0O = 0
- ForListDo $(0OOO000O0O)
- ifstr $($) != " "
- set-add O0OO000O0O = $(O0OO000O0O),1
- ifint $(O0OO000O0O) == 1
- set 00OO000O0O = $($)
- else-ifint $(O0OO000O0O) == 2
- ifstr(i) $($) == netBiosTransport
- set OO0O000O0O = $(00OO000O0O)" "$(0OOOO00OOO)" non non 100"
- set 0OO0O00O0O = >($(0OO0O00O0O), $(OO0O000O0O))
- endif
- endif
- endif
- EndForListDo
- EndForListDo
- endif
- GetRegValue $(0O0OOOOO0O) "Bindable" 0O0O000O0O
- ifint $(RegLastError) == 0
- ForListDo *($(0O0O000O0O),4)
- Split-String $($), " ", O00O000O0O
- set OO0O000O0O = $(OOO0O0O0OO)
- set 000O000O0O = O00OO0O0OO
- set OOO0000O0O = O00OO0O0OO
- set O0OO000O0O = 0
- ForListDo $(O00O000O0O)
- ifstr $($) == " "
- set OO0O000O0O = $(OO0O000O0O)$($)
- else
- set-add O0OO000O0O = $(O0OO000O0O),1
- ifint $(O0OO000O0O) == 1
- ifstr(i) $($) == ndisWanTransport
- set OOO0000O0O = 0O0OO0O0OO
- endif
- set OO0O000O0O = $(OO0O000O0O)$($)
- else-ifint $(O0OO000O0O) == 2
- ifstr(i) $($) == $(00O00O0OOO)
- set 0OO0000O0O = $(0OOOO00OOO)
- set 000O000O0O = 0O0OO0O0OO
- else-ifstr(i) $($) == $(OO000O0OOO)
- ifcontains(i) "NetBEUI" in $(0O00O000OO)
- set 0OO0000O0O = $(O0OOO00OOO)
- set 000O000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(0O000O0OOO)
- ifcontains(i) "NetBEUI" in $(0O00O000OO)
- set 0OO0000O0O = $(00OOO00OOO)
- set 000O000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(O0000O0OOO)
- ifcontains(i) "Tcpip" in $(0O00O000OO)
- set 0OO0000O0O = $(OO0OO00OOO)
- set 000O000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(00000O0OOO)
- ifcontains(i) "Tcpip" in $(0O00O000OO)
- set 0OO0000O0O = $(0O0OO00OOO)
- set 000O000O0O = 0O0OO0O0OO
- endif
- else-ifstr(i) $($) == $(OOOOO00OOO)
- ifcontains(i) "NwlnkIpx" in $(0O00O000OO)
- set 0OO0000O0O = $(O00OO00OOO)
- set 000O000O0O = 0O0OO0O0OO
- endif
- endif
- set OO0O000O0O = $(OO0O000O0O)$(0OO0000O0O)
- else
- set OO0O000O0O = $(OO0O000O0O)$($)
- endif
- endif
- EndForListDo
- ifstr $(000O000O0O) == 0O0OO0O0OO
- ifstr $(OOO0000O0O) == O00OO0O0OO
- set 0OO0O00O0O = >($(0OO0O00O0O), $(OO0O000O0O))
- endif
- endif
- EndForListDo
- endif
- CloseRegKey $(0O0OOOOO0O)
- endif
- CloseRegKey $(0O00O00O0O)
- endif
- 0000O00O0O = +
- EndForListDo
- EndForListDo
- CloseRegKey $(O0O0O00O0O)
- endif
- return $(0OO0O00O0O)
- [0000OO00OO]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(0O0O0OO0OO) $(000OO0O0OO) O0O0000O0O
- ifint $(RegLastError) != 0
- return STATUS_FAILED
- endif
- GetRegValue $(O0O0000O0O) CurrentVersion 00O0000O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(O0O0000O0O)
- return STATUS_FAILED
- endif
- GetRegValue $(O0O0000O0O) CSDVersion OO00000O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(O0O0000O0O)
- return STATUS_FAILED
- endif
- CloseRegKey $(O0O0000O0O)
- Split-String *($(OO00000O0O),4) " ," 0O00000O0O
- return STATUS_SUCCESS *($(00O0000O0O),4) *($(0O00000O0O),5)
- [O000000O0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $($0) $(000OO0O0OO) 0000000O0O
- ifstr(i) $(0000000O0O) == $(OOO0O0O0OO)
- return STATUS_FAILED
- endif
- GetRegValue $(0000000O0O) "Bind" OOOOOO0O0O
- ifint $(RegLastError) != 0
- CloseRegKey $(0000000O0O)
- return STATUS_FAILED
- endif
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) == $(OOO0O0O0OO)
- CloseRegKey $(0000000O0O)
- return STATUS_FAILED
- endif
- EnumRegKey $(OOOOOOOO0O) 00000000OO
- ifint $(RegLastError) != 0
- CloseRegKey $(0000000O0O)
- return STATUS_FAILED
- endif
- set OOOOOOO00O = {}
- set 0OOOOOO00O = $($1)
- set O0OOOOO00O = {}
- set 00OOOOO00O = \042\042\042\042\042\042\042\042
- set 0OOO0000OO = *($(OOOOOO0O0O),4)
- ForListDo $(0OOO0000OO)
- Split-String $($) "\" 0OOOOO0O0O
- set O0OOOO0O0O = $(!NTN_ServiceBase)"\"*($(0OOOOO0O0O),4)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OOOO0O0O) $(000OO0O0OO) 00OOOO0O0O
- ifstr $(00OOOO0O0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(00OOOO0O0O) "SystemAdapter" OOO0O0OO0O
- ifint $(RegLastError) != 0
- else
- set OO0OOOO00O = *($(OOO0O0OO0O),4)
- set OOOOOOO00O = >($(OOOOOOO00O),$(OO0OOOO00O))
- Split-String $(OO0OOOO00O) "\" 0O0OOOO00O
- set O00OOOO00O = *($(0O0OOOO00O),4)
- set 000OOOO00O = $(OOO0O0O0OO)
- ifstr(i) $($1) == "{}"
- QueryListSize OOO0OOO00O $(0O0OOOO00O)
- set 0OO0OOO00O = $(OOO0O0O0OO)
- ForListDo $(0O0OOOO00O)
- ifint $(#) == $(OOO0OOO00O)
- set 0OO0OOO00O = $(0OO0OOO00O)$($2)
- endif
- set 0OO0OOO00O = $(0OO0OOO00O)$($)
- EndForListDo
- set 0OOOOOO00O = >($(0OOOOOO00O),$(0OO0OOO00O))
- endif
- ForListDo $(00000000OO)
- OpenRegKey $(OOOOOOOO0O) "" *($($),1) $(000OO0O0OO) O0O0OOO00O
- ifstr(i) $(O0O0OOO00O) != $(OOO0O0O0OO)
- GetRegValue $(O0O0OOO00O) "ServiceName" 00O0OOO00O
- ifint $(RegLastError) == 0
- ifstr $(O00OOOO00O) == *($(00O0OOO00O),4)
- GetRegValue $(O0O0OOO00O) "SoftwareName" 000OOOO00O
- ifint $(RegLastError) == 0
- set 0000O000OO = $(!NTN_ServiceBase)"\"*($(000OOOO00O),4)
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) 0OO0OO0O0O
- ifstr(i) $(0OO0OO0O0O) == $(OOO0O0O0OO)
- set 000OOOO00O = $(OOO0O0O0OO)
- else
- CloseRegKey $(0OO0OO0O0O)
- endif
- endif
- endif
- endif
- CloseRegKey $(O0O0OOO00O)
- endif
- EndForListDo
- ifstr $(000OOOO00O) == $(OOO0O0O0OO)
- set OO00OOO00O = $(00OOOOO00O)$(O00OOOO00O)$(00OOOOO00O)
- else
- set OO00OOO00O = $(00OOOOO00O)*($(000OOOO00O),4)$(00OOOOO00O)" "$(00OOOOO00O)$(O00OOOO00O)$(00OOOOO00O)
- endif
- set O0OOOOO00O = >($(O0OOOOO00O),$(OO00OOO00O))
- endif
- CloseRegKey $(00OOOO0O0O)
- endif
- EndForListDo
- set-subst O0000O00OO = {{Bind,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(OOOOOOO00O)},+
- {Export,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(0OOOOOO00O)},+
- {Route,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),$(O0OOOOO00O)}}
- Shell $(O0O00OO0OO) AddValueList $(0000000O0O) $(O0000O00OO)
- CloseRegKey $(OOOOOOOO0O)
- CloseRegKey $(0000000O0O)
- return STATUS_SUCCESS
- [OOO0OO0O0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(O0OO0OO0OO) $(000OO0O0OO) 0O00OOO00O
- ifstr $(0O00OOO00O) != $(OOO0O0O0OO)
- GetRegValue $(0O00OOO00O) "Bind" OOOOOO0O0O
- QueryListSize O000OOO00O *($(OOOOOO0O0O),4)
- ifint $(RegLastError) == 0
- ForListDo *($(OOOOOO0O0O),4)
- Split-String $($) "\_" 0OOOOO0O0O
- QueryListSize 0000OOO00O $(0OOOOO0O0O)
- set O0O0OO0O0O = $(!NTN_ServiceBase)"\"*($(0OOOOO0O0O),$(0000OOO00O))"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(O0O0OO0O0O) $(000OO0O0OO) OOOO0OO00O
- ifstr $(OOOO0OO00O) != $(OOO0O0O0OO)
- GetRegValue $(OOOO0OO00O) "SystemAdapter" OO00OO0O0O
- ifint $(RegLastError) == 0
- set 0O00OO0O0O = *($(OO00OO0O0O),4)
- Split-String $(0O00OO0O0O) "\_" O000OO0O0O
- QueryListSize 0000OO0O0O $(O000OO0O0O)
- set OOOO0O0O0O = $(!NTN_ServiceBase)"\"*($(O000OO0O0O),$(0000OO0O0O))"\Parameters\Tcpip"
- set 0OOO0OO00O = 0
- OpenRegKey $(!REG_H_LOCAL) "" $(OOOO0O0O0O) $(000OO0O0OO) 0OOO0O0O0O
- ifstr $(0OOO0O0O0O) == $(OOO0O0O0OO)
- CreateRegKey $(!REG_H_LOCAL) {$(OOOO0O0O0O),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0OOO0O0O0O
- set 0OOO0OO00O = 1
- endif
- ifstr $(0OOO0O0O0O) != $(OOO0O0O0OO)
- SetRegValue $(0OOO0O0O0O) {IpInterfaceContext,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O000OOO00O)}
- SetRegValue $(0OOO0O0O0O) {IpInterfaceContextMax,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O000OOO00O)}
- OpenRegKey $(OOOO0OO00O) "" "Tcpip" $(000OO0O0OO) 00O0OO0O0O
- ifstr $(00O0OO0O0O) != $(OOO0O0O0OO)
- ifint $(0OOO0OO00O) == 1
- Shell "", 00000OOO0O, $(00O0OO0O0O), $(0OOO0O0O0O)
- endif
- SetRegValue $(00O0OO0O0O) {IpInterfaceContext,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O000OOO00O)}
- SetRegValue $(00O0OO0O0O) {IpInterfaceContextMax,$(OO00O0O0OO),$(!REG_VT_DWORD),$(O000OOO00O)}
- CloseRegKey $(00O0OO0O0O)
- endif
- CloseRegKey $(0OOO0O0O0O)
- endif
- endif
- CloseRegKey $(OOOO0OO00O)
- endif
- set-sub O000OOO00O = $(O000OOO00O),1
- EndForListDo
- endif
- CloseRegKey $(0O00OOO00O)
- endif
- return
- [OO00O000OO]
- return {Tcpip,NdisWan,NetBT}
- [O000O0OO0O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Shell "" 0000O0OO0O
- ForListDo $($R0)
- Shell "" O0OO0OO00O $($)
- ifint $($R0) != 0
- set 00OO0OO00O = $($R0)
- set 0000O000OO = $(!NTN_ServiceBase)"\"$($)"\Parameters"
- OpenRegKey $(!REG_H_LOCAL) "" $(0000O000OO) $(000OO0O0OO) O00OO0OO0O
- ifstr $(O00OO0OO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(O00OO0OO0O) "SystemAdapter" OO00OO0O0O
- ifint $(RegLastError) != 0
- else
- set 0O00OO0O0O = *($(OO00OO0O0O),4)
- Split-String $(0O00OO0O0O) "\_" O000OO0O0O
- QueryListSize 0000OO0O0O $(O000OO0O0O)
- set OO0O0OO00O = *($(O000OO0O0O),$(0000OO0O0O))
- Shell "" O0OO0OO00O $(OO0O0OO00O)
- ifint $($R0) != 0
- set 0O0O0OO00O = $($R0)
- Shell "" O00O0OO00O $(0O0O0OO00O) $(00OO0OO00O)
- set 000O0OO00O = $($R0)
- Shell "" OOO00OO00O $(000O0OO00O) $(0O0O0OO00O)
- ifstr $($R0) == 0O0OO0O0OO
- ifint $(000O0OO00O) != $(00OO0OO00O)
- Shell "" 0OO00OO00O $(0O0O0OO00O) $(000O0OO00O) 0 0
- Shell "" 0OO00OO00O $(00OO0OO00O) $(0O0O0OO00O) $(0O0O0OO00O) $(000O0OO00O)
- DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\"$(00OO0OO00O)
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$(00OO0OO00O)
- else
- Shell "" 0OO00OO00O $(0O0O0OO00O) 0 0 0
- Shell "" 0OO00OO00O $(00OO0OO00O) $(0O0O0OO00O) $(0O0O0OO00O) $(000O0OO00O)
- Shell "" 0OO00OO00O 0 $(000O0OO00O) 0 0
- DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\0"
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan0"
- endif
- endif
- endif
- endif
- CloseRegKey $(O00OO0OO0O)
- endif
- endif
- EndForListDo
- return
- [0OO00OO00O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- OpenRegKey $(!REG_H_LOCAL) "" $(!NTN_ServiceBase)"\NdisWan"$($0) $(000OO0O0OO) O0O00OO00O
- ifstr $(O0O00OO00O) != $(OOO0O0O0OO)
- DeleteRegTree $(!REG_H_LOCAL) $(!NTN_ServiceBase)"\NdisWan"$($1)
- CreateRegKey $(!REG_H_LOCAL) {$(!NTN_ServiceBase)"\NdisWan"$($1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 00O00OO00O
- ifstr $(00O00OO00O) != $(OOO0O0O0OO)
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO)"\"$($0) $(000OO0O0OO) OO000OO00O
- ifstr $(OO000OO00O) != $(OOO0O0O0OO)
- DeleteRegTree $(!REG_H_LOCAL) $(O00O0OO0OO)"\"$($1)
- CreateRegKey $(!REG_H_LOCAL) {$(O00O0OO0OO)"\"$($1),$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" 0O000OO00O
- ifstr $(0O000OO00O) != $(OOO0O0O0OO)
- Shell "" 00000OOO0O $(O0O00OO00O) $(00O00OO00O)
- OpenRegKey $(00O00OO00O) "" "Linkage" $(000OO0O0OO) O0OO00OO0O
- ifstr $(O0OO00OO0O) == $(OOO0O0O0OO)
- CreateRegKey $(00O00OO00O) {"Linkage",$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0OO00OO0O
- ifstr $(O0OO00OO0O) != $(OOO0O0O0OO)
- CreateRegKey $(00O00OO00O) {"Disabled",$(OO00O0O0OO),GenericClass} "" $(000OO0O0OO) "" O0000OO00O
- ifstr $(O0000OO00O) != $(OOO0O0O0OO)
- CloseRegKey $(O0000OO00O)
- endif
- endif
- endif
- ifstr $(O0OO00OO0O) != $(OOO0O0O0OO)
- set 00OOOOO00O = \042\042\042\042\042\042\042\042
- set-subst O0000O00OO = {{Bind,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
- {Export,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{"\Device\NdisWan"$($1)}},+
- {Route,$(OO00O0O0OO),$(!REG_VT_MULTI_SZ),{$(00OOOOO00O)"NdisWan"$($1)$(00OOOOO00O)}}}
- Shell $(O0O00OO0OO) AddValueList $(O0OO00OO0O) $(O0000O00OO)
- CloseRegKey $(O0OO00OO0O)
- endif
- OpenRegKey $(00O00OO00O) "" "Parameters" $(000OO0O0OO) O00OO0OO0O
- ifstr $(O00OO0OO0O) != $(OOO0O0O0OO)
- ifint $($2) == 0
- DeleteRegTree $(O00OO0OO0O) DNESignature
- DeleteRegValue $(O00OO0OO0O) "SourceParameters"
- else
- set O0000O00OO = {{InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$($2)},+
- {SystemAdapter,$(OO00O0O0OO),$(!REG_VT_SZ),"\Device\NdisWan"$($3)}}
- Shell $(O0O00OO0OO) AddValueList $(O00OO0OO0O) $(O0000O00OO)
- GetRegValue $(O00OO0OO0O) "SourceParameters" 00000OO00O
- ifint $(RegLastError) == 0
- set 0000O000OO = $(!NTN_ServiceBase)"\NdisWan"$($3)"\Parameters"
- SetRegValue $(O00OO0OO0O) {SourceParameters,$(OO00O0O0OO),$(!REG_VT_SZ),$(0000O000OO)}
- endif
- OpenRegKey $(O00OO0OO0O) "" $(00O0OO0OOO) $(000OO0O0OO) OOOOO0O00O
- ifstr $(OOOOO0O00O) != $(OOO0O0O0OO)
- set O0000O00OO = {{AdapterNumber,$(OO00O0O0OO),$(!REG_VT_SZ),$($2)},+
- {Device,$(OO00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($3)},+
- {InstanceNumber,$(OO00O0O0OO),$(!REG_VT_DWORD),$($2)}}
- Shell $(O0O00OO0OO) AddValueList $(OOOOO0O00O) $(O0000O00OO)
- CloseRegKey $(OOOOO0O00O)
- endif
- endif
- CloseRegKey $(O00OO0OO0O)
- endif
- Shell "" 00000OOO0O $(OO000OO00O) $(0O000OO00O)
- SetRegValue $(0O000OO00O) {ServiceName,$(OO00O0O0OO),$(!REG_VT_SZ),"NdisWan"$($1)}
- GetRegValue $(0O000OO00O) "Title" 0OOO0OOO0O
- ifint $(RegLastError) == 0
- Split-String *($(0OOO0OOO0O),4) "[]" 0OOOO0O00O
- set O0OOO0O00O = 0
- set 00OOO0O00O = $(OOO0O0O0OO)
- ForListDo $(0OOOO0O00O)
- ifstr $($) == "["
- set 00OOO0O00O = $(00OOO0O00O)$($)
- set-add O0OOO0O00O = $(O0OOO0O00O),1
- else-ifint $(O0OOO0O00O) == 1
- set 00OOO0O00O = $(00OOO0O00O)$($1)
- set-add O0OOO0O00O = $(O0OOO0O00O),1
- else-ifint $(O0OOO0O00O) == 3
- set 00OOO0O00O = $(00OOO0O00O)$($3)
- set-add O0OOO0O00O = $(O0OOO0O00O),1
- else
- set 00OOO0O00O = $(00OOO0O00O)$($)
- endif
- EndForListDo
- SetRegValue $(0O000OO00O) {Title,$(OO00O0O0OO),$(!REG_VT_SZ),$(00OOO0O00O)}
- endif
- OpenRegKey $(0O000OO00O) "" "NetRules" $(000OO0O0OO) OO0OO0O00O
- ifstr $(OO0OO0O00O) != $(OOO0O0O0OO)
- set 00OOOOO00O = \042\042
- set-subst 0O0OO0O00O = {bindform,$(OO00O0O0OO),$(!REG_VT_SZ),$(00OOOOO00O)NdisWan$($1)$(00OOOOO00O)" yes yes container"}
- SetRegValue $(OO0OO0O00O) $(0O0OO0O00O)
- CloseRegKey $(OO0OO0O00O)
- endif
- CloseRegKey $(0O000OO00O)
- endif
- CloseRegKey $(OO000OO00O)
- endif
- CloseRegKey $(00O00OO00O)
- endif
- CloseRegKey $(O0O00OO00O)
- endif
- return
- [O00O0OO00O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Shell "" OOO00OO00O $($1) $($0)
- ifstr $($R0) == 0O0OO0O0OO
- set O00OO0O00O = $($1)
- else
- set O00OO0O00O = $($0)
- endif
- set 000OO0O00O = 0
- set OOO0O0O00O = 0
- OpenRegKey $(!REG_H_LOCAL) "" $(O00O0OO0OO) $(000OO0O0OO) OOOOOOOO0O
- ifstr(i) $(OOOOOOOO0O) != $(OOO0O0O0OO)
- OpenRegKey $(OOOOOOOO0O) "" $($0) $(000OO0O0OO) 0OO0O0O00O
- ifint $(RegLastError) == 0
- GetRegValue $(0OO0O0O00O) "ProductName" 00OOOOOO0O
- ifint $(RegLastError) == 0
- set 000OOOO00O = *($(00OOOOOO0O),4)
- EnumRegKey $(OOOOOOOO0O) 0000OOOO0O
- ifint $(RegLastError) == 0
- ForListDo $(0000OOOO0O)
- ifint $(OOO0O0O00O) < *($($),1)
- set OOO0O0O00O = *($($),1)
- endif
- OpenRegKey $(OOOOOOOO0O) "" *($($),1) $(000OO0O0OO) OOOO0OOO0O
- ifstr(i) $(OOOO0OOO0O) == $(OOO0O0O0OO)
- else
- GetRegValue $(OOOO0OOO0O) "ProductName" 00OOOOOO0O
- ifint $(RegLastError) != 0
- else
- ifstr *($(00OOOOOO0O),4) == $(000OOOO00O)
- GetRegValue $(OOOO0OOO0O) "SoftwareName" O0O0O0O00O
- ifint $(RegLastError) != 0
- else
- Shell "" OOO00OO00O *($($),1) $(000OO0O00O)
- ifstr $($R0) == 0O0OO0O0OO
- set 000OO0O00O = *($($),1)
- endif
- endif
- endif
- endif
- CloseRegKey $(OOOO0OOO0O)
- endif
- EndForListDo
- endif
- endif
- CloseRegKey $(0OO0O0O00O)
- endif
- CloseRegKey $(OOOOOOOO0O)
- endif
- 00O0O0O00O = +
- Shell "" OOO00OO00O $(000OO0O00O) $(O00OO0O00O)
- ifstr $($R0) == 0O0OO0O0OO
- ifint $(O00OO0O00O) < $(OOO0O0O00O)
- set-add O00OO0O00O = $(OOO0O0O00O),1
- else
- set-add O00OO0O00O = $(O00OO0O00O),1
- endif
- goto 00O0O0O00O
- endif
- return $(O00OO0O00O) $(000OO0O00O) $(OOO0O0O00O)
- [O0OO0OO00O]
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- Split-String $($0) "0123456789" OO00O0O00O
- set 0O00O0O00O = 0
- ifstr(i) *($(OO00O0O00O),1) == "NdisWan"
- ForListDo $(OO00O0O00O)
- ifint $(#) > 1
- set-mul 0O00O0O00O = $(0O00O0O00O),10
- set-add 0O00O0O00O = $(0O00O0O00O),$($)
- endif
- EndForListDo
- endif
- return $(0O00O0O00O)
- [OOO00OO00O]
- Split-String $($0) $($0) O000O0O00O
- QueryListSize 0000O0O00O $(O000O0O00O)
- Split-String $($1) $($1) OOOO00O00O
- QueryListSize 0OOO00O00O $(OOOO00O00O)
- ifint *($(O000O0O00O),1) == *($(OOOO00O00O),1)
- ifint $(0000O0O00O) > $(0OOO00O00O)
- set O0OO00O00O = 0O0OO0O0OO
- else-ifint $(0000O0O00O) < $(0OOO00O00O)
- set O0OO00O00O = O00OO0O0OO
- else
- ifint *($(O000O0O00O),2) > *($(OOOO00O00O),2)
- set O0OO00O00O = 0O0OO0O0OO
- else
- set O0OO00O00O = O00OO0O0OO
- endif
- endif
- else-ifint *($(O000O0O00O),1) > *($(OOOO00O00O),1)
- set O0OO00O00O = 0O0OO0O0OO
- else
- set O0OO00O00O = O00OO0O0OO
- endif
- return $(O0OO00O00O)
- [00OO00OO0O]
- set 00OO00O00O = $($0)
- set O0OO00OO0O = $($1)
- set OOOO00OO0O = $($2)
- set 0OOO00OO0O = $($3)
- set OO0O00O00O = $($4)
- read-syms 0OO00OO0OO
- read-syms OO0OOO0OOO
- GetRegValue $(O0OO00OO0O) "Bind" OOOOOO0O0O
- GetRegValue $(O0OO00OO0O) "Export" 0O0O00O00O
- GetRegValue $(O0OO00OO0O) "Route" O00O00O00O
- set OO0O0000OO = 0
- QueryListSize OO0O0000OO $(OOOOOO0O0O)
- ifint $(OO0O0000OO) != 4
- goto 000O00O00O
- endif
- set OO0O0000OO = 0
- QueryListSize OO0O0000OO *($(OOOOOO0O0O),4)
- ifint $(OO0O0000OO) < 1
- goto 000O00O00O
- endif
- set OOO000O00O = {}
- set 0OO000O00O = {}
- set O0O000O00O = {}
- set 00O000O00O = $(O00OO0O0OO)
- ForListDo *($(OOOOOO0O0O),4)
- Split-String $($) "\_" 0OOOOO0O0O
- QueryListSize OO0000O00O $(0OOOOO0O0O)
- set 0O0000O00O = *($(0OOOOO0O0O),$(OO0000O00O))
- ifcontains(i) $(0O0000O00O) in $(OOOO00OO0O)
- set 00O000O00O = $(0O0OO0O0OO)
- endif
- EndForListDo
- ifint $(OO0O00O00O) == $(0O0OO0O0OO)
- ifint $(00O000O00O) == $(O00OO0O0OO)
- goto 000O00O00O
- endif
- endif
- ForListDo *($(OOOOOO0O0O),4)
- Split-String $($) "\_" 0OOOOO0O0O
- QueryListSize OO0000O00O $(0OOOOO0O0O)
- set 0O0000O00O = *($(0OOOOO0O0O),$(OO0000O00O))
- ifint $(OO0O00O00O) == $(0O0OO0O0OO)
- ifcontains(i) $(0O0000O00O) in $(OOOO00OO0O)
- set OOO000O00O = >($(OOO000O00O), $($))
- set 0OO000O00O = >($(0OO000O00O), *(*($(0O0O00O00O),4),$(#)))
- set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
- else
- ifcontains(i) $(0O0000O00O) not-in $(0OOO00OO0O)
- endif
- endif
- else
- ifcontains(i) $(0O0000O00O) not-in $(OOOO00OO0O)
- set OOO000O00O = >($(OOO000O00O), $($))
- set 0OO000O00O = >($(0OO000O00O), *(*($(0O0O00O00O),4),$(#)))
- set O0O000O00O = >($(O0O000O00O), *(*($(O00O00O00O),4),$(#)))
- endif
- endif
- EndForListDo
- set O00000O00O = {*($(OOOOOO0O0O),1),+
- *($(OOOOOO0O0O),2),+
- *($(OOOOOO0O0O),3),+
- $(OOO000O00O)}
- set 000000O00O = {*($(0O0O00O00O),1), +
- *($(0O0O00O00O),2), +
- *($(0O0O00O00O),3), +
- $(0OO000O00O)}
- set OOOOOO000O = {*($(O00O00O00O),1), +
- *($(O00O00O00O),2), +
- *($(O00O00O00O),3), +
- $(O0O000O00O)}
- SetRegValue $(O0OO00OO0O) $(O00000O00O)
- SetRegValue $(O0OO00OO0O) $(000000O00O)
- SetRegValue $(O0OO00OO0O) $(OOOOOO000O)
- 000O00O00O = +
- return $(0O0OO0O0OO)
- [Install-Option]
- set STF_VITAL = ""
- ifstr(i) $(0O0000O0OO) == "YES"
- AddSectionFilesToCopyList 0OOOOO000O-$(00O000O0OO) $(OO0000O0OO) $(!STF_WINDOWSSYSPATH)\drivers
- endif
- ifstr(i) $(O00000O0OO) == "YES"
- set !STF_NCP_FLUSH_COPYLIST = TRUE
- CopyFilesInCopyList
- endif
- ifstr(i) $(000000O0OO) == "YES"
- endif
- exit
- [Source Media Descriptions]
- 1 = "DNE Disk", TAGFILE = Disk1
- [0OOOOO000O-DNE]
- 1, dne.sys, OVERWRITE=ALWAYS
- [0OOOOO000O-Inf]
- 1, oemsetnt.inf, OVERWRITE=ALWAYS, RENAME=$(!UG_Filename)
- [OOOOOO00OOENG]
- Help = "&Help"
- Exit = "Cancel"
- OK = "OK"
- HelpContext = ""
- Continue = "Continue"
- Cancel = "Cancel"
- [OO0OOO0OOOENG]
- 0OOOOO00OO = "Deterministic Network Enhancer Setup"
- O0OOOO000O = "Deterministic Network Enhancer"
- 00OOOO000O = "The Deterministic Networks Network Enhancer."
- OOOOO000OO = "Deterministic Network Enhancer"
- 000O0O00OO = "Deterministic Network Enhancer"
- 00000O00OO = "Deterministic Network Enhancer"
- O0OOO000OO = "Deterministic Network Enhancer Transport"
- 0OOOO000OO = "Deterministic Network Enhancer Transport"
- 00O0OO00OO = "Deterministic Network Enhancer Transport"
- O00OO000OO = "Deterministic Network Enhancer Adapter Shim"
- OO0OO000OO = "Deterministic Network Enhancer Adapter Shim"
- 0O0OO000OO = "Deterministic Network Enhancer Adapter Shim"
- O00O0OOO0O = "DNE"
- 000O0OOO0O = "Deterministic Network Enhancer Virtual Adapter"
- OO0OOO000O = "Deterministic Network Enhancer Virtual Adapter"
- 0O0OOO000O = "Error: "$(0OOOOO00OO)
- O00OOO000O = "Shell Code Error."
- OO00OO00OO = "is already installed."
- O0OO0O00OO = "requires NT 4.0 and Service Pack 3."
- [00OO0O00OOENG]
- OO0O0O00OO = "Installing the Deterministic Network Enhancer"
- [0OO000O0OOENG]
- DNE = "Deterministic Network Enhancer"
-